#include <STC89C5xRC.H>
#include "Delay.h"
#include "Key.h"
#include "Nixie.h"
#include "Buzzer.h"

unsigned char KeyNum;


void main()
{
	 Nixie(1,0);
          while(1)
         {
              KeyNum = Key();
				  if(KeyNum)
				  {

					  Buzzer_Time(100);
					  Nixie(1,KeyNum);
				  }
              
            
         }

}